package com.mark.media.service.impl;

import com.mark.media.service.AdChannelService;
import com.mark.model.admin.pojos.AdChannel;
import com.mark.model.mappers.admin.AdChannelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.annotation.AccessType;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description :  查询所有频道
 * @Author :  Markburt
 * @CreateDate :  2020/3/8$ 下午 02:12$
 * @UpdateUser :  Markburt
 * @UpdateDate :  2020/3/8$ 下午 02:12$
 * @UpdateRemark :  Project Build
 * @Version :  1.0
 */
@Service
@SuppressWarnings("all")
public class AdChannelServiceImpl implements AdChannelService{

    @Autowired
    private AdChannelMapper adChannelMapper;



    /**
     * 查询所有频道
     * @return
     */
    @Override
    public List<AdChannel> selectAll() {
        return adChannelMapper.selectAll();
    }
}
